package com.quanyan.comment.model.vo;

import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 * @Desc 后台用户注册请求参数
 * Created by jian.zhou on 2016/5/4.
 */
public class AdminUserRegisterVo implements Serializable{


    private Integer id;

    /** 手机号 **/
    @NotBlank(message = "mobile不能为空")
    private String mobile;
    /** 登录名 **/
    @NotBlank(message = "loginName不能为空")
    private String loginName;
    /** 密码 **/
    @NotBlank(message = "password不能为空")
    private String password;
    /** 真实姓名 **/
    private String trueName;
    /** 性别 0:未知,1:男2:女 **/
    private int gender;
    /** 用户所属组**/
    private int groupId;
    /** 邮箱 **/
    private String email;
    /** 所在部门 **/
    private int deptId;


    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getTrueName() {
        return trueName;
    }

    public void setTrueName(String trueName) {
        this.trueName = trueName;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getDeptId() {
        return deptId;
    }

    public void setDeptId(int deptId) {
        this.deptId = deptId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "AdminUserRegisterVo{" +
                "id=" + id +
                ", mobile='" + mobile + '\'' +
                ", loginName='" + loginName + '\'' +
                ", password='" + password + '\'' +
                ", trueName='" + trueName + '\'' +
                ", gender=" + gender +
                ", groupId=" + groupId +
                ", email='" + email + '\'' +
                ", deptId=" + deptId +
                '}';
    }
}
